package com.simple.hystrixtest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@SpringBootApplication
/**
 * 这里要去扫描对应的包下面的装载的starter
 */
@ComponentScan(basePackages = {"com.simple.*"})
public class HystrixTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(HystrixTestApplication.class, args);
    }

}
